From: Florian Müllner Date: Wed, 14 Oct 2020 01:17:28 +0000 (+0200) Subject: windowPreview: Keep borderCenter always visible X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~510 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=56c118de8738c2593273606383f5972641eaf25d;p=gnome-shell.git windowPreview: Keep borderCenter always visible We need it to position the icon now, which isn't hidden with the border. https://gitlab.gnome.org/Teams/Design/os-mockups/-/issues/81 Part-of: --- diff --git a/js/ui/windowPreview.js b/js/ui/windowPreview.js index 63f519f08..e860f0647 100644 --- a/js/ui/windowPreview.js +++ b/js/ui/windowPreview.js @@ -297,8 +297,6 @@ var WindowPreview = GObject.registerClass({ factor: 0.5, })); this._borderCenter = new Clutter.Actor(); - this._border.bind_property('visible', this._borderCenter, 'visible', - GObject.BindingFlags.SYNC_CREATE); this._borderCenterConstraint = new Clutter.BindConstraint({ source: this._windowContainer, coordinate: Clutter.BindCoordinate.SIZE,